package com.lollipop.ucenter.rpc.api;


import com.lollipop.common.service.CrudService;
import com.lollipop.ucenter.rpc.model.Role;

import java.util.List;
import java.util.Set;

public interface RoleService extends CrudService<Role> {

    /**
     * 查找用户拥有的角色集合
     *
     * @param userId
     * @return
     */
    public Set<Role> findRolesByUserId(String userId);

}
